package com.hd.core.project.module.domain;

import java.util.List;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 宿舍列表 module_dormitory
 * 
 * @author RichardTang
 * @date 2018-08-20
 */
@TableName("module_dormitory") 
public class Dormitory{

	@TableId(type = IdType.AUTO)
	private Integer id;
	
	/** 宿舍号 */
	private String number;

	/** 宿舍类型：0:四人间 1:六人间 2:八人间 **/
	private Integer type;
	
	/** 备注 **/
	private String remark;
	
	/** 宿舍成员 **/
	@TableField(exist = false)
	private List<Student> dormitoryMenber;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public List<Student> getDormitoryMenber() {
		return dormitoryMenber;
	}

	public void setDormitoryMenber(List<Student> dormitoryMenber) {
		this.dormitoryMenber = dormitoryMenber;
	}
}
